<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="UTF-8" />
    <title>Img - Draggable</title>
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, viewport-fit=cover"
    />
    <link href="../../../../../css/ionic.bundle.css" rel="stylesheet" />
    <link href="../../../../../scripts/testing/styles.css" rel="stylesheet" />
    <script src="../../../../../scripts/testing/scripts.js"></script>
    <script nomodule src="../../../../../dist/ionic/ionic.js"></script>
    <script type="module" src="../../../../../dist/ionic/ionic.esm.js"></script>

    <style>
      ion-img::part(image) {
        border: 1px solid rgba(0, 0, 0, 0.5);
        border-radius: 4px;
        height: 100px;
        width: 100px;
      }
    </style>
  </head>

  <body>
    <ion-app>
      <ion-header>
        <ion-toolbar>
          <ion-title>Img - Draggable</ion-title>
        </ion-toolbar>
      </ion-header>

      <ion-content class="ion-padding">
        <ion-list>
          <ion-item>
            <ion-label>Draggable</ion-label>
            <ion-img
              id="img-draggable-true"
              draggable="true"
              src=""
            >
            </ion-img>
          </ion-item>
          <ion-item>
            <ion-label>Not draggable (draggable="false")</ion-label>
            <ion-img
              id="img-draggable-false"
              draggable="false"
              src=""
            >
            </ion-img>
          </ion-item>
          <ion-item>
            <ion-label>Draggable (draggable not set)</ion-label>
            <ion-img
              id="img-draggable-unset"
              src=""
            >
            </ion-img>
          </ion-item>
        </ion-list>
      </ion-content>
    </ion-app>
  </body>
</html>
